<?php
return array(
		'lang/<lang:[\w]{2}>'	=> 'language/switch',
		'/category/<key:.*?>' => 'category/sub/index',
		'/trade/<alias:.*?>' => 'trade/default/index',
		'products/<device:.*?>'=>'products/gadget',
		
		'<controller:\w+>/<id:\d+>' => '<controller>/view',
		'<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
		'<controller:\w+>/<action:\w+>' => '<controller>/<action>',		
		
		
		
		
		
		'cameras/list'=>'cameras/default/list',
		'cameras/guide'=>'cameras/default/guide',
		
		'home'=>'site',
		'index'=>'site',
		
		'galleries'=>'galleries',
		'galleries/view/<alias:.+>'=>'galleries/Default/view',
		
		'meals/page/<page:\d+>'=>'meals',
		'meals/view/<alias:.+>'=>'meals/Default/view',

		'events/page/<page:\d+>'=>'events',
		'events/view/<alias:.+>'=>'events/Default/view',
	
		//'news'=>'news/Category/list', // deleted
		'news/first'=>'news/Category/first',
		'news/viewcat/<alias:[\w-]+>'=>'news/Category/view',
		'news/view/<alias:.+>'=>'news/Entry/detail',
		
		'static/<alias:[\w-]+>'=>'static_pages/StaticPages/view',
		'about/<alias:[\w-]+>'=>'abouts/AboutPages/view',
		
		'manageStatistics'=>'static_pages/manageStaticPages/update/id/8',
		'statistics'=>'static_pages/StaticPages/view/alias/statistics',
		
		'documents/category/<alias:[\w-]+>'=>'documents/documentFiles/category',
		'trade/<alias:[\w-]+>'=>'trade/default/index',
		
		
		
		
		'gii'=>'gii',
		'gii/<controller:\w+>'=>'gii/<controller>',
		'gii/<controller:\w+>/<action:\w+>'=>'gii/<controller>/<action>',
		
		
);
